listbase: Only compute the modifiers when releasing the rubberband
authorBenjamin Otte <otte@redhat.com>
Fri, 26 Jun 2020 01:26:11 +0000 (03:26 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 26 Jun 2020 05:13:32 +0000 (07:13 +0200)
commit30488e60e292dfdb98fffc083083097ab793602e
tree8abbc2617323cffae1afc21875b8b32589cbe56a
parenta5949960bcfe62a810c9fa7d42729d614602f7e2
listbase: Only compute the modifiers when releasing the rubberband

... and do the right things:

nothing:    selection = rubberband
ctrl:       selection = selection OR rubberband
shift:      selection = selection AND (NOT rubberband)
ctrl+shift: selection = selection XOR rubberband
            (not sure this one makes sense, but toggling is fun)
gtk/gtklistbase.c